#include <iostream>
#include <stdlib.h>
#include <algorithm>
#include <cstring>
#include <cmath>
#include <stdlib.h>
#include <iomanip>
int main()
{
    int height;
    bool end=false;
    int crash = 0;
    while (std::cin>>height) {
        if(height<168&&!crash)
        {
            crash=height;
            end=true;
        }
    }
    if(end)
        std::cout<<"CRASH "<<height<<std::endl;
    else
        std::cout<<"NO CRASH"<<std::endl;
    return 0;
}
